package com.salton123.whiteboard.model.bean

import android.graphics.Paint
import android.graphics.Path
import android.graphics.RectF
import android.text.TextPaint

/**
 * User: wujinsheng1@yy.com
 * Date: 2020/5/22 19:06
 * ModifyTime: 19:06
 * Description:
 */

data class StrokeRecord(
        var type: Int,  //记录类型
        var paint: Paint,   //笔类
        var path: Path, //画笔路径数据
        var rect: RectF,    //圆，矩形区域
        var text: String,   //文字
        var textPaint: TextPaint,    //笔类
        var textOffX: Int,
        var textOffY: Int,
        var textWidth: Int  //文字位置
)